import request from '@/utils/request'

export function getEditionList(params) {
    return request({
        url: '/api/app/edition/page-list',
        method: 'get',
        params
    })
}
export function getIdEditionData(id) {
    return request({
        url: `/api/app/edition/${id}/obtain-edition`,
        method: 'post',
    })
}
export function insertEditionEd(data)
{
    return request({
        url: '/api/app/edition/ed-edition',
        method: 'post',
        data
    })
}

export function updateEditionEd(data)
{
    return request({
        url: '/api/app/edition/modify-edition',
        method: 'post',
        data
    })
}
export function getUptoDateEdition(data)
{
    return request({
        url: '/api/app/edition/client-by-type',
        method: 'get',
        data
    })
}


